package com.sjsq.po;

/**
 * @author ZJA
 * @date 2020/11/27 11:50
 */

public class Card {

    // 主键
    private Integer id;
    // 用户Id
    private Integer userid;
    // 用户名
    private String username;
    // 书名
    private Integer bookid;
    // 书本的数量
    private int booknum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public int getBooknum() {
        return booknum;
    }

    public void setBooknum(int booknum) {
        this.booknum = booknum;
    }

    @Override
    public String toString() {
        return "Card{" +
                "id=" + id +
                ", userid=" + userid +
                ", username='" + username + '\'' +
                ", bookid=" + bookid +
                ", booknum=" + booknum +
                '}';
    }
}